using System;
using System.Collections.Generic;
using System.Text;
using SlimDX;

namespace Barrage.Scene
{
    public class Light:Element
    {
        protected Color3 ambient = new Color3(0.5f,0.5f,0.5f);
        public Color3 Ambient { get { return ambient; } }
        protected Color3 diffuse = new Color3(0.5f, 0.5f, 0.5f);
        public Color3 Diffuse { get { return diffuse; } }
        protected Color3 specular = new Color3(0.5f, 0.5f, 0.5f);
        public Color3 Specular { get { return specular; } set { specular = value; } }
        protected Vector3 attenuation = new Vector3(0.01f, 0.05f, 0);
        public Vector3 Attenuation { get { return attenuation; } set { attenuation = value; } }

        public Light()
        {        
        }

        public Light(Color3 color)
        {
            ambient = new Color3(0,0,0);
            diffuse = color;
            specular = color;
        }
        
        public override void Render()
        {
            
        }

        public override void Update()
        {
            base.Update();
        }
        
    }
}
